<template>
	<view>
		<!-- 列表卡片组件 -->
		<uni-card :title="title" :extra="!ststate?'':`${ststate==1?'待开始':'进行中'}`" :thumbnail="myImage">
			<uni-list :border="false" v-for="(item, index) in listCom" :key="index">
				<uni-list-item :title="item.title" :rightText="dictionContent[item.value]"></uni-list-item>
			</uni-list>
		</uni-card>
	</view>
</template>
<script>
	export default {
		name: "comList",
		props: {
			listCom: {
				type: Array //填入的内容-字典表
			},
			title: String, //标题
			ststate: Number, //状态
			dictionContent: {
				type: Object //携带的参数信息
			},
			myImage: String, //图片
		},
		data() {
			return {};
		},

		methods: {}
	}
</script>

<style scoped lang="scss">

</style>